import Modal from "@ui/RJMart/modal";

import "./style.scss";

class CancelModal extends React.Component {
    constructor() {
        super();
        this.state = {};
    }

    render() {
        return (
            <div className="rj_l-cancel-modal">
                <Modal
                    title="取消提示"
                    content="取消申请单后，无法重新提交申请，您确认要取消该申请单吗？"
                    type="choose"
                    onConfirm={() => {
                        console.log("Confirm");
                        this.props.doCancel()
                    }}
                    onCancel={() => {
                        console.log("Cancel");
                    }}
                >
                    <div className={'order-result-content-btns3'}>
                        <p>取消申请</p>
                    </div>
                </Modal>
            </div>
        );
    }
}

export default CancelModal;
